//
//  CourseDetailDescModel.m
//  TeacherNet
//
//  Created by slz on 2017/11/15.
//  Copyright © 2017年 bnsr. All rights reserved.
//

#import "CourseDetailDescModel.h"

@implementation TTClassModel

+ (NSDictionary *)modelCustomPropertyMapper {
    return @{@"classId" : @"class_id",
             @"className":@"class_name",
             @"classSignUpLastTime":@"lastTime",
             @"classValidityPeriod":@"valid_date"
             };
}
@end

@implementation TTClassListModel

+ (NSDictionary *)modelContainerPropertyGenericClass {
    return @{@"classList" : [TTClassModel class],
             };
}
@end

@implementation CourseDetailDescModel
+ (NSDictionary *)modelCustomPropertyMapper {
    return @{@"courseStartTime" : @"startTime",
             @"courseEndTime":@"endTime",
             @"courseName":@"course_name",
             @"coursePrice":@"price",
             @"courseTeacher":@"username",
             @"courseScool":@"school",
             @"courseLimitTime":@"valid_date", // day
             @"courseDescUrl":@"url",
             @"courseBanner":@"img",
             @"classId":@"class_id",
             @"courseSignUpLaseTime":@"lastTime",
             @"className":@"class_name",
             @"classValidityPeriod":@"valid_date"
             };
}
@end
